package yzserver.sx4a.dao;

import yzserver.sx4a.domain.RoleDomain;

import java.util.List;

public interface IRoleDao {
    //单个角色
	public RoleDomain selRole(String roleid);

    //添加角色
    public void addRole(RoleDomain role) throws Exception;

    //修改角色
    public void editRole(RoleDomain role) throws Exception;


    //删除角色
    public void delRole(String roleid) throws Exception;

    //所有角色
    public List<RoleDomain> selAllRole(String roleid);

}
